module.exports = {
	createArticleRequest: {
		title: {
			type: 'string',
			required: true,
			description: '文章标题',
			example: 'JavaScript闭包',
		},
		content: {
			type: 'string',
			required: true,
			description: '文章内容',
			example: 'JavaScript闭包...',
		},
		cover: {
			type: 'string',
			required: true,
			description: '文章配图',
			example: '',
		},
		authorId: {
			type: 'number',
			required: true,
			description: '作者ID',
			example: 1,
		},
		tagId: {
			type: 'number',
			required: true,
			description: '分类ID',
			example: 1,
		},
	},
	updateArticleRequest: {
		title: {
			type: 'string',
			required: true,
			description: '文章标题',
			example: 'JavaScript闭包',
		},
		content: {
			type: 'string',
			required: true,
			description: '文章内容',
			example: 'JavaScript闭包...',
		},
		cover: {
			type: 'string',
			required: true,
			description: '文章配图',
			example: '',
		},
		tagId: {
			type: 'number',
			required: true,
			description: '分类ID',
			example: 1,
		},
	},
	updateAuditArticleRequest: {
		status: {
			type: 'number',
			required: true,
			description: '是否提交审核',
			example: 1,
		},
	},
}
